package com.zrx.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrx.springboot.entity.User;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {
    @Update("UPDATE bs_user SET password=#{password} WHERE id=#{id}")
    void upword(Integer id,String password);
}
